package com.jinzhi.jzweb.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.common.utils.Result;
import com.jinzhi.jzweb.domain.JazSignupTeamDO;
import com.jinzhi.common.base.CoreService;
import com.jinzhi.jzweb.domain.JazSignupUserDO;
import com.jinzhi.jzweb.domain.param.SignUserQuery;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 
 * <pre>
 * 报名队伍表
 * </pre>
 * <small> 2024-09-05 15:21:58 | Long</small>
 */
public interface JazSignupTeamService extends CoreService<JazSignupTeamDO> {
    /**
     * 分页查询报名队伍表
     * @param signUserQuery
     * @return
     */
    Page<JazSignupTeamDO> selectTeamPage(SignUserQuery signUserQuery);

    /**
     * 根据id查询报名队伍表
     * @param id
     * @return
     */
    Result<JazSignupTeamDO> getById(Long id);

    /**
     * 生成报名表
     * @param response
     * @param jazSignupUserDO
     */
    void documentWord(HttpServletResponse response, JazSignupUserDO jazSignupUserDO) throws Exception;

    /**
     * 报名队伍导出
     * @param response
     * @param signUserQuery
     */
    void downloadImportTemplate(HttpServletResponse response, SignUserQuery signUserQuery);
}
